package TestCustomer;

import static org.junit.Assert.*;
import junit.framework.TestCase;
import junit.framework.Assert;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import Customer.*;
import CustomerVO.*;

public class TestBuyBook extends TestCase {
	private BuyBook buyBook;

	@Before
	public void setUp() throws Exception {
		buyBook = new BuyBook();
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testBuy() {
		OrderVO orderVO = new OrderVO();
		BuyStateVO result = buyBook.buy(orderVO);
		Assert.assertEquals(result,null);
	}
	
	@Test
	public void testBuy2() {
		BuyStateVO result = buyBook.buy(null);
		Assert.assertEquals(result,null);
	}

}
